import { UserParam } from "@/types/user";
import { post } from ".";

export const userLogin = (params: UserParam) => {
  return post<any>("/auth/login", params);
};

export const userRegister = (params: UserParam) => {
  return post<any>("/auth/register", params);
};
